package net.chenlin.dp.modules.business.service;

import net.chenlin.dp.common.entity.Page;
import net.chenlin.dp.common.entity.R;
import net.chenlin.dp.modules.business.entity.dto.DistrictDto;
import net.chenlin.dp.modules.business.entity.vo.districtManage.DistrictManageListVo;

import java.util.List;
import java.util.Map;

public interface DistrictManageService {

    Page<DistrictManageListVo> getDistrictList(Map<String, Object> params);

    R createDistrict(DistrictDto dto);

    R updateDistrict(DistrictDto dto);

    R getTree(Long districtId);

    R deleteDistrict(Long districtId);
}
